CREATE TABLE [dbo].[TDDOCU_PGGR]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NU_CORR_DOCU] [dbo].[TD_VC_008] NOT NULL,
[CO_PROV] [dbo].[TD_VC_020] NOT NULL,
[TI_DOCU] [dbo].[TD_VC_003] NOT NULL,
[NU_DOCU] [dbo].[TD_VC_020] NOT NULL,
[NU_CUOT_DETA] [dbo].[TD_IN_001] NOT NULL CONSTRAINT [DF__TDDOCU_PG__NU_CU__44A0E595] DEFAULT ((0)),
[FE_VENC_CUOT] [dbo].[TD_DT_001] NOT NULL,
[IM_CUOT] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__TDDOCU_PG__IM_CU__459509CE] DEFAULT ((0)),
[IM_PAGA] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__TDDOCU_PG__IM_PA__46892E07] DEFAULT ((0)),
[ST_CONT] [dbo].[TD_VC_001_INTE] NOT NULL CONSTRAINT [DF__TDDOCU_PG__ST_CO__477D5240] DEFAULT ('N'),
[NU_PROC] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TDDOCU_PG__NU_PR__48717679] DEFAULT ((0)),
[IM_APLI] [dbo].[TD_NU_016_004] NULL CONSTRAINT [DF__TDDOCU_PG__IM_AP__49659AB2] DEFAULT ((0)),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TDDOCU_PG__CO_US__4A59BEEB] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TDDOCU_PG__FE_US__4B4DE324] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TDDOCU_PG__CO_US__4C42075D] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TDDOCU_PG__FE_US__4D362B96] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDDOCU_PGGR] ADD CONSTRAINT [PK_TDDOCU_PGGR_1] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_PROV], [TI_DOCU], [NU_DOCU], [NU_CUOT_DETA]) ON [PRIMARY]
GO
